import React from 'react'
import {observer} from 'mobx-react';
import './style/radio.less'

@observer
class ReturnButton extends React.Component {
    render() {
        const {type} = this.props;
        const className = type === 0 ? 'wf_return_button wf_return_button_not ':'wf_return_button wf_return_button_ok';
        return (
            <button
             className={className}
             onClick={this.props.onClick}
             >{this.props.content}</button>
        )
    }
}
export default ReturnButton;